package golang

import "fmt"

func main() {
	num := 10
	var p *int = &num
	fmt.Println(p)

	*p = 999
	fmt.Println(*p)  //999
	fmt.Println(num) //999

	arr := [3]int{1, 2, 3}
	arr2 := &arr
	fmt.Println(arr2[0]) //1
}
